﻿using Project.Ycm20250401.Service._20250418.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Project.Ycm20250401.Service._20250418.Domain.IRepository
{
    public interface IOrderRepository
    {
        //通过订单ID获取订单信息
        Task<Order20250422> GetOrderById(string orderId);

        //保存订单信息
        Task<bool> SaveOrder(Order20250422 order);

        //支付订单
        Task<bool> PayOrder(string orderId);
    }
}
